import sys
import os

curpath=os.path.abspath(os.path.dirname(__file__))
rootpath=os.path.abspath(os.path.dirname(curpath)+os.path.sep+".")
sys.path.append(rootpath)